package com.yxp.webtest.aop;

import org.aspectj.lang.ProceedingJoinPoint;

public class AopBean {
    public void startTransaction() {
        System.out.println("start aop");
    }

    public void afterTransaction() {
        System.out.println("after aop");
    }

    public void around(ProceedingJoinPoint joinPoint) throws Throwable {
        System.out.println("begin aop");
        joinPoint.proceed();
        System.out.println("end   aop");
    }
}
